/**
 * 
 */
package profile.aspect;

/**
 * @author ductrung.tran
 *
 */
public class CallContextHolder {

	private static InheritableThreadLocal<CallContext> contextHolder = new InheritableThreadLocal<CallContext>();
	
	public static void setContext(CallContext context) {
		contextHolder.set(context);
	}
	
	public static CallContext getContext() {
		return contextHolder.get();
	}
	
	public static void removeContext() {
		contextHolder.remove();
	}
}
